package com.soup.domain;

public class Person {
    private String id;//ID
    private String name;//名称
    private String password;//密码
    private String ind; //身份
    private String state;//状态
    private int money;//余额

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getInd() {
        return ind;
    }

    public void setInd(String ind) {
        this.ind = ind;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public int getMoney() {
        return money;
    }

    public void setMoney(int money) {
        this.money = money;
    }

    public Person(String id, String name, String password, String ind, String state, int money) {
        this.id = id;
        this.name = name;
        this.password = password;
        this.ind = ind;
        this.state = state;
        this.money = money;
    }

    public Person() {
    }

    @Override
    public String toString() {
        return "Person{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", password='" + password + '\'' +
                ", ind='" + ind + '\'' +
                ", state='" + state + '\'' +
                ", money=" + money +
                '}';
    }
}
